package org.soenea.doitall.domain.model.person;

import org.dsrg.soenea.domain.DomainObject;

public class Person extends DomainObject<Long> implements IPerson {
	private String userName;
	private String password;
	private int groupNum;
	private String firstName;
	private String lastName;
	
	public Person(Long id, String userName, String password, int groupNum,
			String firstName, String lastName, Long version) {
		super(id, version);
		this.userName = userName;
		this.password = password;
		this.groupNum = groupNum;
		this.firstName = firstName;
		this.lastName = lastName;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public int getGroupNum() {
		return groupNum;
	}
	public void setGroupNum(int groupNum) {
		this.groupNum = groupNum;
	}
	public String getFirstName() {
		return firstName;
	}
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	public String getLastName() {
		return lastName;
	}
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
	public String getPassword() {
		return password;
	}
	
}
